Micron Document
🌎 rns.kin.earth git 🌍

Node / dev / reticulum / commits / d2efd6c

Commit d2efd6c3e4823f2c63ef2c999f21fd8fcaedd5f4


Parents : ea4a525
Author : Mark Qvist <mark@unsigned.io>
Date : 2025-04-12T11:01:57+02:00

Allow AP mode on Backbone and TCP interfaces

Changes

1 files changed, 0 insertions(+), 15 deletions(-)


Diff

diff --git a/RNS/Reticulum.py b/RNS/Reticulum.py
index b2589060..63dac754 100755
--- a/RNS/Reticulum.py
+++ b/RNS/Reticulum.py
@@ -687,9 +687,6 @@ class Reticulum:
if "port" in c: c["target_port"] = c["port"]
if "remote" in c: c["target_host"] = c["remote"]
if "listen_on" in c: c["listen_ip"] = c["listen_on"]
- if interface_mode == Interface.Interface.MODE_ACCESS_POINT:
- RNS.log(str(c["type"])+" does not support Access Point mode, reverting to default mode: Full", RNS.LOG_WARNING)
- interface_mode = Interface.Interface.MODE_FULL
if c["type"] == "BackboneInterface":
if "target_host" in c: interface = BackboneInterface.BackboneClientInterface(RNS.Transport, interface_config)
@@ -705,26 +702,14 @@ class Reticulum:
interface_post_init(interface)
if c["type"] == "TCPServerInterface":
- if interface_mode == Interface.Interface.MODE_ACCESS_POINT:
- RNS.log(str(c["type"])+" does not support Access Point mode, reverting to default mode: Full", RNS.LOG_WARNING)
- interface_mode = Interface.Interface.MODE_FULL
-
interface = TCPInterface.TCPServerInterface(RNS.Transport, interface_config)
interface_post_init(interface)
if c["type"] == "TCPClientInterface":
- if interface_mode == Interface.Interface.MODE_ACCESS_POINT:
- RNS.log(str(c["type"])+" does not support Access Point mode, reverting to default mode: Full", RNS.LOG_WARNING)
- interface_mode = Interface.Interface.MODE_FULL
-
interface = TCPInterface.TCPClientInterface(RNS.Transport, interface_config)
interface_post_init(interface)
if c["type"] == "I2PInterface":
- if interface_mode == Interface.Interface.MODE_ACCESS_POINT:
- RNS.log(str(c["type"])+" does not support Access Point mode, reverting to default mode: Full", RNS.LOG_WARNING)
- interface_mode = Interface.Interface.MODE_FULL
-
interface_config["storagepath"] = Reticulum.storagepath
interface_config["ifac_netname"] = ifac_netname
interface_config["ifac_netkey"] = ifac_netkey

Served by rngit 1.5.0 - Generated in 0.09s